var NewsCategory_columns01 = function() {

	var opts = {
		InfoDisplayStyle : ''
	};
	
	var init = function(options) {

		$.extend(opts, options);
		
		if (opts.InfoDisplayStyle == 'two') {
			$(".NewsCategory_columns01-d1_c1").find('ul').addClass("column2");
		}
	
		$('.js_jumpToNewsList').click(function() {
			var columnid = $(this).data('columnid');
			sessionStorage["fromIndex"] = "1";
			var url = 'news_list/InfoListColumnID=' + columnid + '.html';
			window.location.href = url;
		})

		$('.js_gotoNewsList').click(function() {
			var id = $(this).data('id');
			var advertid = $(this).data('advertid');
			sessionStorage["fromIndex"] = "0";
			var url = 'news_list/newsCategoryId=' + id + '&slideCategoryId='
					+ advertid + '.html';
			window.location.href = url;
		})
	};

	return {
		init : init
	}
}();